﻿using System;
using System.Collections.Generic;

namespace PandaWebAPI.Models.ef;

/// <summary>
/// 购物车商品
/// </summary>
public partial class CartItem
{
    public Guid CartItemId { get; set; }

    public Guid CartId { get; set; }

    public Guid ProductId { get; set; }

    public int Quantity { get; set; }

    public DateTime? AddedAt { get; set; }

    public virtual ShoppingCart Cart { get; set; } = null!;

    public virtual Product Product { get; set; } = null!;
    public object? User { get; internal set; }
}
